package app.netant.book.yftxt;

import app.netant.book.base.BaseDown;
import app.netant.book.sjxs.SjxsDown;

public class YftxtDown extends BaseDown {

	@Override
	public void downFile(String filePath, String url) throws Exception {
		
		this.setCharset("gbk");
		this.downLocationUnicodeFile(filePath, url);
		
	}
	
	public static void main(String[] args) throws Exception {
		System.out.println("开始测试下载");
		YftxtDown downControl = new YftxtDown();	
		downControl.downFile("D:/测试.rar", "http://www.yftxt.com/plus/xiazai_yfx.php?open=2&id=32315&uhash=18d84d2d3e8c122d833d03a6");		
		System.out.println("结束测试下载");
	}

}
